package com.zhongwang.mms.gen.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class MInventory {
    private Integer ityId;

    private Integer ityMatId;

    private Integer ityInType;

    private String ityProCode;

    private String ityProName;

    private String itySpec;

    private String ityTrackCode;

    private Double ityNum;

    private Double ityWeight;

    private Double ityAvaNum;

    private Double ityAvaWeight;

    private String ityBackDate;

    private String ityRemark;

    private Double ityPrice;

    private BigDecimal ityAmount;

    private Integer ityStoId;

    private String ityStoPlaceNum;

    private String ityMatSapCode;

    private Integer ityCeoSourceFlag;

    private String ityPosition;
    private  String contractNo;//合同编号
    private  String supplier;//供应商

    public MInventory(Integer ityId, Integer ityMatId, Integer ityInType, String ityProCode, String ityProName, String itySpec, String ityTrackCode, Double ityNum, Double ityWeight, Double ityAvaNum, Double ityAvaWeight, String ityBackDate, String ityRemark, Double ityPrice, BigDecimal ityAmount, Integer ityStoId, String ityStoPlaceNum, String ityMatSapCode, Integer ityCeoSourceFlag) {
        this.ityId = ityId;
        this.ityMatId = ityMatId;
        this.ityInType = ityInType;
        this.ityProCode = ityProCode;
        this.ityProName = ityProName;
        this.itySpec = itySpec;
        this.ityTrackCode = ityTrackCode;
        this.ityNum = ityNum;
        this.ityWeight = ityWeight;
        this.ityAvaNum = ityAvaNum;
        this.ityAvaWeight = ityAvaWeight;
        this.ityBackDate = ityBackDate;
        this.ityRemark = ityRemark;
        this.ityPrice = ityPrice;
        this.ityAmount = ityAmount;
        this.ityStoId = ityStoId;
        this.ityStoPlaceNum = ityStoPlaceNum;
        this.ityMatSapCode = ityMatSapCode;
        this.ityCeoSourceFlag = ityCeoSourceFlag;
    }

    public MInventory() {
        super();
    }

    public Integer getItyId() {
        return ityId;
    }

    public void setItyId(Integer ityId) {
        this.ityId = ityId;
    }

    public Integer getItyMatId() {
        return ityMatId;
    }

    public void setItyMatId(Integer ityMatId) {
        this.ityMatId = ityMatId;
    }

    public Integer getItyInType() {
        return ityInType;
    }

    public void setItyInType(Integer ityInType) {
        this.ityInType = ityInType;
    }

    public String getItyProCode() {
        return ityProCode;
    }

    public void setItyProCode(String ityProCode) {
        this.ityProCode = ityProCode == null ? null : ityProCode.trim();
    }

    public String getItyProName() {
        return ityProName;
    }

    public void setItyProName(String ityProName) {
        this.ityProName = ityProName == null ? null : ityProName.trim();
    }

    public String getItySpec() {
        return itySpec;
    }

    public void setItySpec(String itySpec) {
        this.itySpec = itySpec == null ? null : itySpec.trim();
    }

    public String getItyTrackCode() {
        return ityTrackCode;
    }

    public void setItyTrackCode(String ityTrackCode) {
        this.ityTrackCode = ityTrackCode == null ? null : ityTrackCode.trim();
    }

    public Double getItyNum() {
        return ityNum;
    }

    public void setItyNum(Double ityNum) {
        this.ityNum = ityNum;
    }

    public Double getItyWeight() {
        return ityWeight;
    }

    public void setItyWeight(Double ityWeight) {
        this.ityWeight = ityWeight;
    }

    public Double getItyAvaNum() {
        return ityAvaNum;
    }

    public void setItyAvaNum(Double ityAvaNum) {
        this.ityAvaNum = ityAvaNum;
    }

    public Double getItyAvaWeight() {
        return ityAvaWeight;
    }

    public void setItyAvaWeight(Double ityAvaWeight) {
        this.ityAvaWeight = ityAvaWeight;
    }

    public String getItyBackDate() {
        return ityBackDate;
    }

    public void setItyBackDate(String ityBackDate) {
        this.ityBackDate = ityBackDate == null ? null : ityBackDate.trim();
    }

    public String getItyRemark() {
        return ityRemark;
    }

    public void setItyRemark(String ityRemark) {
        this.ityRemark = ityRemark == null ? null : ityRemark.trim();
    }

    public Double getItyPrice() {
        return ityPrice;
    }

    public void setItyPrice(Double ityPrice) {
        this.ityPrice = ityPrice;
    }

    public BigDecimal getItyAmount() {
        return ityAmount;
    }

    public void setItyAmount(BigDecimal ityAmount) {
        this.ityAmount = ityAmount;
    }

    public Integer getItyStoId() {
        return ityStoId;
    }

    public void setItyStoId(Integer ityStoId) {
        this.ityStoId = ityStoId;
    }

    public String getItyStoPlaceNum() {
        return ityStoPlaceNum;
    }

    public void setItyStoPlaceNum(String ityStoPlaceNum) {
        this.ityStoPlaceNum = ityStoPlaceNum == null ? null : ityStoPlaceNum.trim();
    }

    public String getItyMatSapCode() {
        return ityMatSapCode;
    }

    public void setItyMatSapCode(String ityMatSapCode) {
        this.ityMatSapCode = ityMatSapCode == null ? null : ityMatSapCode.trim();
    }

    public Integer getItyCeoSourceFlag() {
        return ityCeoSourceFlag;
    }

    public void setItyCeoSourceFlag(Integer ityCeoSourceFlag) {
        this.ityCeoSourceFlag = ityCeoSourceFlag;
    }
}